#include <stdio.h>
#include <string.h>

/*
 * char *strdup(const char *s);
 */

int main(void)
{
    char *src = "ac-xiaozhi";
    char *dest = NULL;

    dest = strdup(src);
    printf("dest = %s\n", dest);

    free(dest);

    return 0;
}

